@charset 'utf-8';
@import '../common';
$bg: url('../../images/common/bg2.jpg');
@mixin green-tag {
  background-color: #5aa600;
}

.register-bg {
  z-index: -1;
  @include custom-width-height($full,
  $full);
  background-image: $bg;
  @include background-norepeat-cover;
  @extend .flex-top-column-bottom; // padding: 20px;
  flex-wrap: nowrap;
}

.register-content {
  // min-width: 500px;
  // max-width: 1000px;
  // width: 52%;
  // max-height: 600px;
  // min-height: 520px;
  background-color: #efefef;
  border-radius: $border-radius;
  .register-success-form {
    padding: 1em 4em;
    padding-bottom: 2em;
  }
}

.center {
  @extend .flex-center
}

.register-title {
  font-size: 1.5rem;
  color: #000000;
  margin: 1em;
  text-align: center;
}

.topbar {
  background-color: #000000;
  border-radius: $border-radius $border-radius 0 0;
  height: 12px;
  @include custom-width-height(undefined,
  12px)
}

.success-tip {
  @extend .flex-vertical-center;
  img {
    margin-right: 17px;
    @include custom-width-height(40px,
    40px)
  }
  span {
    color: #333333;
  }
}

.success-token {
  padding-left: 57px;
}

.success-token {
  >div:first-child {
    margin: 22px 0;
  }
}

.token-way {
  @extend .flex;
  margin: 20px 0;
  a {
    @include custom-width-height(130px,
    38px);
    color: $color-white;
    @include green-tag;
    text-decoration: none;
    margin: 0 9px;
  }
  .token-active {
    background-color: #9a9a9a;
  }
}

.token-form {
  display: flex;
  flex-direction: column;
  >input {
    @include custom-width-height(370px,
    38px);
    padding: 12px 11px 9px;
    &[type='email'] {
      margin-bottom: 20px;
    }
  }
  .token-code {
    margin: 20px 0;
    @extend .flex-vertical-center;
    >input {
      @include custom-width-height(100px,
      38px);
      margin-right: 20px;
      padding: 12px 11px 9px;
    }
    >a {
      // @include custom-width-height(100px, 38px);
      padding: 0 5px;
      height: 38px;
      @include green-tag;
      color: $color-white;
      @extend .center;
      text-decoration: none;
    }
    .gary {
      background-color: #9a9a9a;
    }
  }
  .token-submit {
    @include custom-width-height(100px,
    38px);
    @include green-tag;
    color: $color-white; // @extend .center;
    padding: 0;
  }
}

.token-form-success {
  .token-submit {
    @include custom-width-height(100px,
    38px);
    color: #fefefe;
    border-radius: 0.5px;
    background-color: #428bca;
    box-shadow: inset 0px 1px 1px 0 rgba(1, 1, 1, 0.15);
    border: solid 1px #cccccc;
    margin-top: 20px;
  }
}